
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.RightRule;
import com.cmc.dao.RightRuleDao;

public interface RightRuleManager extends Manager {
    /**
     * Retrieves all of the rightRules
     */
    public List getRightRules(RightRule rightRule);

    /**
     * Gets rightRule's information based on id.
     * @param id the rightRule's id
     * @return rightRule populated rightRule object
     */
    public RightRule getRightRule(final String id);

    /**
     * Saves a rightRule's information
     * @param rightRule the object to be saved
     */
    public void saveRightRule(RightRule rightRule);

    /**
     * Removes a rightRule from the database by id
     * @param id the rightRule's id
     */
    public void removeRightRule(final String id);
}

